package com.jcl.elasticsearch.core.utils;

import com.jcl.core.common.page.PageResult;
import com.jcl.core.utils.StringUtils;
import com.jcl.elasticsearch.core.config.CrawlerConfig;
import com.jcl.elasticsearch.core.entity.ElasticsearchEntity;
import com.jcl.elasticsearch.core.web.SpringContext;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @ClassName ElasticConfigUtils
 * @Description TODO
 * @Author yyliu
 * @Date 2018/11/1 15:19
 * @Version 1.0
 **/
public class CrawlerConfigUtils {

    private static final CrawlerConfig config = SpringContext.getBean(CrawlerConfig.class);

    public static String downloadUrl(){

        return config.getDownloadUrl();
    }

}
